﻿<Window x:Class="TFhisto.UI.AddFile"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Add a File to the Changeset vizualizer" Height="170" Width="500">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="ResourceDictionary1.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Background="{DynamicResource BrushPurple2Blue3}">
        <GroupBox Header="Server path to the file ($/Project/Branch/File)" Height="50" Margin="12,12,12,0" Name="groupBox1" VerticalAlignment="Top">
            <Grid>
               <TextBox Name="FilePath" Margin="5,5,5,0" Height="23"  /> 
            </Grid>
        </GroupBox>
        <TextBlock Margin="12,68,12,36" Name="ErrorMessage" Text="" TextWrapping="Wrap" />
        <Button Content="Check path" Height="23" HorizontalAlignment="Right" Margin="0,0,391,11" Name="btnCheck" VerticalAlignment="Bottom" Width="75" Click="btnCheck_Click">
            <Button.BorderBrush>
                <SolidColorBrush Color="{DynamicResource Purple1}"/>
            </Button.BorderBrush>
            <Button.Background>
                <SolidColorBrush Color="{DynamicResource Purple3}"/>
            </Button.Background>
        </Button>
        <Button Content="Add file" Height="23" HorizontalAlignment="Right" Margin="0,0,205,12" Name="btnAdd" VerticalAlignment="Bottom" Width="75" Click="btnAdd_Click" >
            <Button.BorderBrush>
                <SolidColorBrush Color="{DynamicResource Purple1}"/>
            </Button.BorderBrush>
            <Button.Background>
                <SolidColorBrush Color="{DynamicResource Purple3}"/>
            </Button.Background>
        </Button>
        <Button Content="Add &amp; Close" Foreground="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" Height="23" HorizontalAlignment="Right" Margin="0,0,12,11" Name="btnAddAndClose" VerticalAlignment="Bottom" Width="75" Click="btnAddAndClose_Click">
            <Button.Background>
                <SolidColorBrush Color="{DynamicResource Purple1}"/>
            </Button.Background>
        </Button>
    </Grid>
</Window>
